package lumis.service.wsrp.consumer;

import lumis.portal.PortalException;

/**
 *Factory for PortletServiceManager.
 *
 * @version $Revision: 13092 $ $Date: 2011-05-28 18:19:06 -0300 (Sat, 28 May 2011) $
 * @since 6.0.0
 */
public abstract class PortletServiceManagerFactory {
	
		
	/**
	 * Returns an instance of a PortletServiceManager.
	 * @param producerEntityId id of the producer entity that this PortletServiceManager will manage.
	 * @return the portlet service manager
	 * @throws PortalException if the entity version is not correct. 
	 */
	public static IPortletServiceManager getPortletServiceManager(String producerEntityId) throws PortalException 
	{ 
		return new PortletServiceManager(producerEntityId);
	}
}
